﻿#ifndef CUSTOMWEBVIEW_H
#define CUSTOMWEBVIEW_H

#include <QWebEngineView>
#include "browser.h"
//#include "browsermainwindow.h"

class BrowserMainWindow;

class CustomWebView : public QWebEngineView
{
    Q_OBJECT
public:
    CustomWebView( QWidget *parent);

    QWebEngineView *createWindow(QWebEnginePage::WebWindowType type) override;
};

#endif // CUSTOMWEBVIEW_H
